package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 投诉表
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "Complaint对象", description = "投诉表")
public class Complaint implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(hidden = true)
	@TableId(value = "c_ID", type = IdType.AUTO)
	private Long cId;

	@ApiModelProperty(value = "投诉业主姓名")
	private String userName;

	@ApiModelProperty(value = "业主编号")
	@TableField("user_ID")
	private Long userId;

	@ApiModelProperty(value = "业主房产编号")
	@TableField("house_ID")
	private Long houseId;

	@ApiModelProperty(value = "业主的投诉内容")
	@TableField("c_detail")
	private String cDetail;

	@ApiModelProperty(value = "业主电话号码")
	private String phone;

	@ApiModelProperty(value = "投诉时间")
	@TableField("c_time")
	private LocalDateTime cTime;

	@ApiModelProperty(value = "处理人")
	private String handleman;

	@ApiModelProperty(value = "处理人电话")
	@TableField("c_phone")
	private String cPhone;

	@ApiModelProperty(value = "处理详情")
	private String handleDetail;

	@ApiModelProperty(value = "0：满意;1：比较满意;2：不满意	")
	private Integer evaluate;

	@ApiModelProperty(value = "处理状态")
	@TableField("c_status")
	private Integer cStatus;
}
